%form{:action=>"/media/upload_file", :method=>"post", :enctype=>"multipart/form-data"}
  %p
    =_ "File name"
    = ":<br />"
    = text_field "file","name"
  %p
    =_ "File"
    = ":<br />"
    = file_field "file","picture"
  = submit_tag _('Upload')

